Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.core.work.config--queues

This contribution is part of XML component org.nuxeo.ecm.core.work.config inside nuxeo-core-event-7.10-HF07.jar /OSGI-INF/workmanager-config.xml

Extension Point

Extension point queues of component service.

Contributed Items

  • <queue id="default">
          <name>Default queue</name>
          <maxThreads>4</maxThreads>
          <!-- clear completed work instances older than 10 minutes -->
          <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
        </queue>
  • <queue id="fulltextUpdater">
          <name>Fulltext updater queue</name>
          <!-- fulltext updates are single-threaded to avoid concurrent
            writes to the same column -->
          <maxThreads>1</maxThreads>
          <category>fulltextUpdater</category>
          <!-- clear completed work quickly as it contains (potentially large)
            text data -->
          <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
        </queue>

XML Source

<extension point="queues" target="org.nuxeo.ecm.core.work.service">
    <queue id="default">
      <name>Default queue</name>
      <maxThreads>4</maxThreads>
      <!-- clear completed work instances older than 10 minutes -->
      <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
    </queue>
    <queue id="fulltextUpdater">
      <name>Fulltext updater queue</name>
      <!-- fulltext updates are single-threaded to avoid concurrent
        writes to the same column -->
      <maxThreads>1</maxThreads>
      <category>fulltextUpdater</category>
      <!-- clear completed work quickly as it contains (potentially large)
        text data -->
      <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
    </queue>
  </extension>